/**
 * 树模型
 */

import {NodeTypeEnum} from "@/views/system/organization/enums/org.enum";

export default class TreeNodeModel {
    /*组织机构子公司(部门)数量*/
    childrenCount?: number;
    /*组织机构子公司(部门)*/
    childrenList?: TreeNodeModel[];
    /*简称*/
    abbreviation?:string;
    /*描述*/
    remark?:string;
    /*中文层级全称*/
    fullName?:string;
    /*备注*/
    backupOne?:string;
    backupTwo?:string;
    /*上级*/
    parentName?:string = '';
    parent?:TreeNodeModel;
    label?:string;
    tid?:number;
    /*数据*/
    organizationVOList?: TreeNodeModel[];
    /*公司总数*/
    companyCount:number;
    departmentCount:number;

    orgId?: number;
    /*是否禁用*/
    enabled: boolean;
    /*顺序*/
    sort: number;
    /*1公司2部门*/
    type: NodeTypeEnum;
    /*编码*/
    code: string;
    parentId: number;
    name: string;
}
